package com.ruoyi.finance.rules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 数字直播代理等级规则表
 * </p>
 *
 * @author wangmh
 * @since 2023-09-21
 */

@Data
@Accessors(chain = true)
@TableName("sz_vip_rule")
@ApiModel(value = "SzVipRule对象", description = "数字直播代理等级规则表")
public class SzVipRule {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("等级编号")
    @TableField("vip_code")
    private String vipCode;

    @ApiModelProperty("等级名称")
    @TableField("vip_name")
    private String vipName;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("至少有几个上一等级")
    @TableField("son_count")
    private Integer sonCount;

    @ApiModelProperty("上一等级id")
    @TableField("son_id")
    private Long sonId;

    @ApiModelProperty("累计业绩")
    @TableField("accumulate_money")
    private BigDecimal accumulateMoney;

    @ApiModelProperty("团队奖励")
    @TableField("team_reward")
    private BigDecimal teamReward;

    @ApiModelProperty("平级奖")
    @TableField("lateral_reward")
    private BigDecimal lateralReward;

    @ApiModelProperty("极差奖金")
    @TableField("range_reward")
    private BigDecimal rangeReward;

    @ApiModelProperty("一星升级二星特殊处理团队奖励")
    @TableField("twoStarsMoney")
    private BigDecimal twoStarsMoney;

}
